package com.temple.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.comon.core.domain.result.R;
import com.temple.model.card.VO.SelfNumberInfo;
import com.temple.model.circle.CircleInfo;
import com.temple.model.circle.DTO.CircleDTO;
import com.temple.model.circle.DTO.MyCircleDTO;
import com.temple.model.circle.DTO.PopularTemple;
import com.temple.model.favor.UserFavor;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-09-07
 * Time:16:50
 * Text：
 */
public interface CircleService extends IService<CircleInfo> {
    public R<?> createTemple(CircleDTO circleDTO1, MultipartFile file,Long Uid) throws IOException;

    R<List<MyCircleDTO>> getMyTemple(Long phone);

    R<List<PopularTemple>> getTemple();

    R<?> getTempleInfo(Long id,Long u_id);

    R<?> setAttention(int id, Long uId);

    R<?> unAttention(int id, Long uId);

    R<?> getEditTemple(Long id);

    R<?> EditTemple(CircleInfo circleDTO1, MultipartFile file, Long uid);

    R<List<SelfNumberInfo>> getTempleNumberInfo(int id);
}
